<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="../js/js.vue.js"></script>
</head>
<body>
    <div id="box" >
           <hello tex></hello>
    </div>
    <script>
        let app=Vue.createApp({
             components:{
                hello:{
                    props:{
                        tex:[String,Boolean]
                        
                        },
                        template:`<h1>卧龙-{{tex}}</h1>`
                    }
                }
        });
        app.mount('#box')
    </script>
</body>
</html>